package demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2023-05-13
 * Time: 12:34
 */
abstract class A{

    public int a;
    public int b;
    /*public A(){

    }*/
    public A(int a,int b){
        this.a = a;
        this.b = b;
    }
    public void func(){

    }
}
class B extends A{
    public B(){
        super(1,2);
    }
}
public class Test2 {
}
